package com.tanhua.manage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserFreeze implements Serializable {

    @TableId(type= IdType.INPUT)
    private Integer userId;  //用户ID
    private Integer freezingTime;   //冻结时间，1为冻结3天，2为冻结7天，3为永久冻结
    private Integer freezingRange;   //冻结范围，1为冻结登录，2为冻结发言，3为冻结发布动态
    private String reasonsForFreezing;   //冻结原因
    private String reasonsForThawing;  //解冻的原因
    private String frozenRemarks;   //冻结备注
    private Date freezeTime;   //封禁时间
    private Date unfreezeTime;  //解冻时间
    private Integer status;  //0：冻结 1：自动解封 2：人工解封
}
